package com.itfreer.data.input;

import java.util.List;
import java.util.Map;

import com.itfreer.data.check.entity.CheckHistoryEntity;

/**
 * 数据导入结果
 */
public class InputResult {

	/**
	 * 已导入的数据
	 */
	private List<Map<String, Object>> inputDatas;

	/**
	 * 主键
	 */
	private List<KeyFieldPara> keyFields;

	/**
	 * 检查日志
	 */
	private CheckHistoryEntity log;

	/**
	 * 数据重复策略
	 */
	private String repetitionStrategy;

	/**
	 * 是否成功
	 */
	private Boolean success = false;

	public List<Map<String, Object>> getInputDatas() {
		return inputDatas;
	}

	public void setInputDatas(List<Map<String, Object>> inputDatas) {
		this.inputDatas = inputDatas;
	}

	public List<KeyFieldPara> getKeyFields() {
		return keyFields;
	}

	public void setKeyFields(List<KeyFieldPara> keyFields) {
		this.keyFields = keyFields;
	}

	public CheckHistoryEntity getLog() {
		return log;
	}

	public void setLog(CheckHistoryEntity log) {
		this.log = log;
	}

	public String getRepetitionStrategy() {
		return repetitionStrategy;
	}

	public void setRepetitionStrategy(String repetitionStrategy) {
		this.repetitionStrategy = repetitionStrategy;
	}

	public Boolean getSuccess() {
		return success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}
}
